<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport"
          content="width=device-width, initial-scale=0.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
<meta name="keywords" content=""/>
<meta name="description" content="">
<meta name="author" content=""/>
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="stylesheet" type="text/css" href="/assets/css/public.css">
<link rel="stylesheet" type="text/css" href="/assets/css/hjk.css">
<title>shengYaYiZhang</title>
</head>
<body>
<header class="k_header_1"><a href="/"><span class="k_hBack"></span></a>生涯驿站</header>
<article>
  <ul class="k_syul">
  <c:forEach step="2" var="a" items="${articleList }" begin="0" varStatus="status">
    <li class="clearfix">
      <div class="k_imgLeft"><img src="${a.imagePath }"></div>
      <div class="k_textRight">
        <h2>${a.tittle }</h2>
        ${a.content }
        <a href="/otherarticle/detail/${a.id }"><div class=" k_more"> 查看更多>> </div></a>
      </div>
    </li>
    <li class="clearfix">
      <div class="k_textLeft">
        <h2>${articleList[status.count*2-1].tittle }</h2>
        ${articleList[status.count*2-1].content }
         <a href="/otherarticle/detail/${articleList[status.count*2-1].id }"><div class=" k_more"> 查看更多>> </div></a>
      </div>
      <div class="k_imgRight"><img src="${articleList[status.count*2-1].imagePath }"></div>
    </li>
	</c:forEach>
  </ul>
</article>
</body>
</html>